package com.vlong.town.entity.suggestion;

import java.io.Serializable;

/**
 * 问题反馈实体类
 * @author Assassin
 */
public class Suggestion implements Serializable {

   /**
	* default SerialVersionUID
	*/
	private static final long serialVersionUID = 1L;

	// Fields

	private Long suggestionId;// 反馈标识[主键值]
	private Integer status;// 反馈状态[1-可用 | 2-不可用]
	private String title;// 反馈标题
	private Long categoryId;// 问题类型
	private String content;// 反馈内容
	private Long publishUserId;// 反馈人标识
	private String publishUserName;// 反馈人姓名
	private String telphone;// 反馈人电话
	private String email;// 反馈人邮箱
	private Integer publishUserType;// 反馈人类型[1-农户 | 2-专家 | 3-管理员 | 4-游客]
	private Integer isDeal;// 是否解决[1-是 | 2-否 默认2]
	private String dealContent;// 解决方案
	private Long dealUserId;// 解决人标识
	private Integer dealUserType;// 解决人类型[1-农户 | 2-专家  | 3-管理员]
	private Long createTime;// 反馈时间
	private Long updateTime;// 更新时间[初始化=创建时间]
	
	// Empty Constructor
	public Suggestion() {
		super();
	}
	
	// Full Constructor
	public Suggestion(Long suggestionId, Integer status, String title, Long categoryId, String content,
			Long publishUserId, String publishUserName, String telphone, String email, Integer publishUserType,
			Integer isDeal, String dealContent, Long dealUserId, Integer dealUserType, Long createTime,
			Long updateTime) {
		super();
		this.suggestionId = suggestionId;
		this.status = status;
		this.title = title;
		this.categoryId = categoryId;
		this.content = content;
		this.publishUserId = publishUserId;
		this.publishUserName = publishUserName;
		this.telphone = telphone;
		this.email = email;
		this.publishUserType = publishUserType;
		this.isDeal = isDeal;
		this.dealContent = dealContent;
		this.dealUserId = dealUserId;
		this.dealUserType = dealUserType;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}
	
	// Property accessors

	public Long getSuggestionId() {
		return suggestionId;
	}

	public void setSuggestionId(Long suggestionId) {
		this.suggestionId = suggestionId;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getPublishUserId() {
		return publishUserId;
	}

	public void setPublishUserId(Long publishUserId) {
		this.publishUserId = publishUserId;
	}

	public String getPublishUserName() {
		return publishUserName;
	}

	public void setPublishUserName(String publishUserName) {
		this.publishUserName = publishUserName;
	}

	public String getTelphone() {
		return telphone;
	}

	public void setTelphone(String telphone) {
		this.telphone = telphone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getPublishUserType() {
		return publishUserType;
	}

	public void setPublishUserType(Integer publishUserType) {
		this.publishUserType = publishUserType;
	}

	public Integer getIsDeal() {
		return isDeal;
	}

	public void setIsDeal(Integer isDeal) {
		this.isDeal = isDeal;
	}

	public String getDealContent() {
		return dealContent;
	}

	public void setDealContent(String dealContent) {
		this.dealContent = dealContent;
	}

	public Long getDealUserId() {
		return dealUserId;
	}

	public void setDealUserId(Long dealUserId) {
		this.dealUserId = dealUserId;
	}

	public Integer getDealUserType() {
		return dealUserType;
	}

	public void setDealUserType(Integer dealUserType) {
		this.dealUserType = dealUserType;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Long updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "Suggestion{" +
				"suggestionId=" + suggestionId +
				", status=" + status +
				", title='" + title + '\'' +
				", categoryId=" + categoryId +
				", content='" + content + '\'' +
				", publishUserId=" + publishUserId +
				", publishUserName='" + publishUserName + '\'' +
				", telphone='" + telphone + '\'' +
				", email='" + email + '\'' +
				", publishUserType=" + publishUserType +
				", isDeal=" + isDeal +
				", dealContent='" + dealContent + '\'' +
				", dealUserId=" + dealUserId +
				", dealUserType=" + dealUserType +
				", createTime=" + createTime +
				", updateTime=" + updateTime +
				'}';
	}
}